.. _CV Structures: ========================== CV Structures ========================== .. toctree:: :maxdepth: 1 * :ref:`CVariable` * :ref:`CVariableHash` * :ref:`CVEFEvent` * :ref:`CVEFVidCell` * :ref:`CVEFVidCellBase` * :ref:`CVEFVidCellFile` * :ref:`CVidBitmap` * :ref:`CVidCell` * :ref:`CVidCellFont` * :ref:`CVidDrawable` * :ref:`CVideo` * :ref:`CVidFont` * :ref:`CVidImage` * :ref:`CVIDIMG_PALETTEAFFECT` * :ref:`CVidMode` * :ref:`CVIDMODE_RETICLE_DESCRIPTION` * :ref:`CVidMosaic` * :ref:`CVidPalette` * :ref:`CVidPng` * :ref:`CVidPoly` * :ref:`CVidTile` * :ref:`CVIDPALETTE_COLOR` * :ref:`CVIDPOLY_VERTEX` * :ref:`CVisibilityMap` * :ref:`CVisibilityMapEllipse` * :ref:`CVisibilityMapTreeNode` * :ref:`CVisualEffect` * :ref:`CVisualEffectBase` * :ref:`CVisualEffectFile` * :ref:`CVoice` * :ref:`CVRamPool` * :ref:`CVVCHash` * :ref:`CVVCHashEntry` .. _CVariable: CVariable ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+-------------------------------------+-------------+ | **Offset** | **Size (Total: 84)** | **Type** | **Field** | +------------+----------------------+-------------------------------------+-------------+ | 0x0 | 84 | :ref:`CAreaVariable` | baseclass_0 | +------------+----------------------+-------------------------------------+-------------+ ---- .. _CVariableHash: CVariableHash ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVariableHash Class` +------------+----------------------+-------------------------------+-----------------+ | **Offset** | **Size (Total: 16)** | **Type** | **Field** | +------------+----------------------+-------------------------------+-----------------+ | 0x0 | 8 | :ref:`CVariable`\* | m_hashEntries | +------------+----------------------+-------------------------------+-----------------+ | 0x8 | 4 | int | m_nTableEntries | +------------+----------------------+-------------------------------+-----------------+ | | 4 | | ```` | +------------+----------------------+-------------------------------+-----------------+ ---- .. _CVEFEvent: CVEFEvent ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+-----------------------+-------------------------+----------------+ | **Offset** | **Size (Total: 224)** | **Type** | **Field** | +------------+-----------------------+-------------------------+----------------+ | 0x0 | 4 | int | m_nTimeFrame | +------------+-----------------------+-------------------------+----------------+ | 0x4 | 4 | unsigned int | m_dwFlags | +------------+-----------------------+-------------------------+----------------+ | 0x8 | 4 | int | m_nRepeatRate | +------------+-----------------------+-------------------------+----------------+ | 0xC | 4 | unsigned int | m_nResType | +------------+-----------------------+-------------------------+----------------+ | 0x10 | 8 | :ref:`CResRef` | m_res | +------------+-----------------------+-------------------------+----------------+ | 0x18 | 4 | unsigned int | m_specialFlags | +------------+-----------------------+-------------------------+----------------+ | 0x1C | 196 | Array | m_pad | +------------+-----------------------+-------------------------+----------------+ ---- .. _CVEFVidCell: CVEFVidCell ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVEFVidCell Class` +------------+------------------------+-----------------------------------------+------------------+ | **Offset** | **Size (Total: 1024)** | **Type** | **Field** | +------------+------------------------+-----------------------------------------+------------------+ | 0x0 | 96 | :ref:`CGameObject` | baseclass_0 | +------------+------------------------+-----------------------------------------+------------------+ | 0x60 | 484 | :ref:`CVEFVidCellBase` | baseclass_1 | +------------+------------------------+-----------------------------------------+------------------+ | | 4 | | ```` | +------------+------------------------+-----------------------------------------+------------------+ | 0x248 | 8 | :ref:`CVidCell`\* | m_cVidCell | +------------+------------------------+-----------------------------------------+------------------+ | 0x250 | 8 | :ref:`CVidCell`\* | m_cShadowVidCell | +------------+------------------------+-----------------------------------------+------------------+ | 0x258 | 48 | :ref:`CVidPalette` | m_palette | +------------+------------------------+-----------------------------------------+------------------+ | 0x288 | 288 | :ref:`CVidBitmap` | m_newPalette | +------------+------------------------+-----------------------------------------+------------------+ | 0x3A8 | 4 | int | m_done | +------------+------------------------+-----------------------------------------+------------------+ | 0x3AC | 4 | int | m_newDirection | +------------+------------------------+-----------------------------------------+------------------+ | 0x3B0 | 16 | Array | m_terrainTable | +------------+------------------------+-----------------------------------------+------------------+ | 0x3C0 | 32 | :ref:`CSound` | m_sound | +------------+------------------------+-----------------------------------------+------------------+ | 0x3E0 | 8 | :ref:`CVidCell`\* | m_cAlphaBam | +------------+------------------------+-----------------------------------------+------------------+ | 0x3E8 | 1 | unsigned __int8 | m_level | +------------+------------------------+-----------------------------------------+------------------+ | 0x3E9 | 1 | unsigned __int8 | m_nCurSound | +------------+------------------------+-----------------------------------------+------------------+ | | 2 | | ```` | +------------+------------------------+-----------------------------------------+------------------+ | 0x3EC | 4 | unsigned int | m_renderMask | +------------+------------------------+-----------------------------------------+------------------+ | 0x3F0 | 4 | unsigned int | m_renderType | +------------+------------------------+-----------------------------------------+------------------+ | 0x3F4 | 4 | unsigned int | m_myRenderMask | +------------+------------------------+-----------------------------------------+------------------+ | 0x3F8 | 4 | int | m_priority | +------------+------------------------+-----------------------------------------+------------------+ | | 4 | | ```` | +------------+------------------------+-----------------------------------------+------------------+ ---- .. _CVEFVidCellBase: CVEFVidCellBase ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+-----------------------+-------------------------+---------------------+ | **Offset** | **Size (Total: 484)** | **Type** | **Field** | +------------+-----------------------+-------------------------+---------------------+ | 0x0 | 8 | :ref:`CResRef` | m_cVidCellRef | +------------+-----------------------+-------------------------+---------------------+ | 0x8 | 8 | :ref:`CResRef` | m_cShadowVidCellRef | +------------+-----------------------+-------------------------+---------------------+ | 0x10 | 4 | unsigned int | m_bltFlags | +------------+-----------------------+-------------------------+---------------------+ | 0x14 | 4 | unsigned int | m_bltInfo | +------------+-----------------------+-------------------------+---------------------+ | 0x18 | 4 | unsigned int | m_bltFlagsExtra | +------------+-----------------------+-------------------------+---------------------+ | 0x1C | 4 | unsigned int | m_bltInfoExtra | +------------+-----------------------+-------------------------+---------------------+ | 0x20 | 8 | :ref:`CPoint` | m_offset | +------------+-----------------------+-------------------------+---------------------+ | 0x28 | 4 | unsigned int | m_offsetFlags | +------------+-----------------------+-------------------------+---------------------+ | 0x2C | 4 | int | m_animationSpeed | +------------+-----------------------+-------------------------+---------------------+ | 0x30 | 4 | int | m_numDirections | +------------+-----------------------+-------------------------+---------------------+ | 0x34 | 4 | int | m_direction | +------------+-----------------------+-------------------------+---------------------+ | 0x38 | 4 | unsigned int | m_directionFlags | +------------+-----------------------+-------------------------+---------------------+ | 0x3C | 8 | :ref:`CResRef` | m_cNewPaletteRef | +------------+-----------------------+-------------------------+---------------------+ | 0x44 | 4 | int | m_height | +------------+-----------------------+-------------------------+---------------------+ | 0x48 | 8 | :ref:`CPoint` | m_glowSize | +------------+-----------------------+-------------------------+---------------------+ | 0x50 | 4 | unsigned int | m_glowIntensity | +------------+-----------------------+-------------------------+---------------------+ | 0x54 | 4 | int | m_nDuration | +------------+-----------------------+-------------------------+---------------------+ | 0x58 | 8 | :ref:`CResRef` | m_cVVCResRes | +------------+-----------------------+-------------------------+---------------------+ | 0x60 | 4 | int | m_nStartSequence | +------------+-----------------------+-------------------------+---------------------+ | 0x64 | 4 | int | m_nLoopSequence | +------------+-----------------------+-------------------------+---------------------+ | 0x68 | 4 | int | m_nCurrentSequence | +------------+-----------------------+-------------------------+---------------------+ | 0x6C | 4 | unsigned int | m_sequenceFlags | +------------+-----------------------+-------------------------+---------------------+ | 0x70 | 8 | :ref:`CResRef` | m_cStartSoundRef | +------------+-----------------------+-------------------------+---------------------+ | 0x78 | 8 | :ref:`CResRef` | m_cLoopSoundRef | +------------+-----------------------+-------------------------+---------------------+ | 0x80 | 8 | :ref:`CResRef` | m_cAlphaBamRef | +------------+-----------------------+-------------------------+---------------------+ | 0x88 | 4 | int | m_nEndSequence | +------------+-----------------------+-------------------------+---------------------+ | 0x8C | 8 | :ref:`CResRef` | m_cEndSoundRef | +------------+-----------------------+-------------------------+---------------------+ | 0x94 | 336 | Array | m_extra | +------------+-----------------------+-------------------------+---------------------+ ---- .. _CVEFVidCellFile: CVEFVidCellFile ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+--------------------------------------------------------------------+-------------+ | **Offset** | **Size (Total: 16)** | **Type** | **Field** | +------------+----------------------+--------------------------------------------------------------------+-------------+ | 0x0 | 16 | :ref:`CResHelper`\<:ref:`CResBinary`,1019> | baseclass_0 | +------------+----------------------+--------------------------------------------------------------------+-------------+ ---- .. _CVidBitmap: CVidBitmap ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVidBitmap Class` +------------+-----------------------+-----------------------------------------------------------------+-----------------+ | **Offset** | **Size (Total: 288)** | **Type** | **Field** | +------------+-----------------------+-----------------------------------------------------------------+-----------------+ | 0x0 | 256 | :ref:`CVidImage` | baseclass_0 | +------------+-----------------------+-----------------------------------------------------------------+-----------------+ | 0x100 | 16 | :ref:`CResHelper`\<:ref:`CResBitmap`,1> | baseclass_1 | +------------+-----------------------+-----------------------------------------------------------------+-----------------+ | 0x110 | 2 | __int16 | m_nBitCount | +------------+-----------------------+-----------------------------------------------------------------+-----------------+ | | 6 | | ```` | +------------+-----------------------+-----------------------------------------------------------------+-----------------+ | 0x118 | 8 | :ref:`CString` | m_szResFileName | +------------+-----------------------+-----------------------------------------------------------------+-----------------+ ---- .. _CVidCell: CVidCell ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVidCell Class` +------------+-----------------------+----------------------------------------------------------------+--------------------+ | **Offset** | **Size (Total: 312)** | **Type** | **Field** | +------------+-----------------------+----------------------------------------------------------------+--------------------+ | 0x0 | 8 | qword | vfptr | +------------+-----------------------+----------------------------------------------------------------+--------------------+ | 0x8 | 256 | :ref:`CVidImage` | baseclass_0 | +------------+-----------------------+----------------------------------------------------------------+--------------------+ | 0x108 | 16 | :ref:`CResHelper`\<:ref:`CResCell`,1000> | baseclass_1 | +------------+-----------------------+----------------------------------------------------------------+--------------------+ | 0x118 | 2 | __int16 | m_nCurrentFrame | +------------+-----------------------+----------------------------------------------------------------+--------------------+ | 0x11A | 2 | unsigned __int16 | m_nCurrentSequence | +------------+-----------------------+----------------------------------------------------------------+--------------------+ | 0x11C | 4 | int | m_nAnimType | +------------+-----------------------+----------------------------------------------------------------+--------------------+ | 0x120 | 4 | int | m_bPaletteChanged | +------------+-----------------------+----------------------------------------------------------------+--------------------+ | | 4 | | ```` | +------------+-----------------------+----------------------------------------------------------------+--------------------+ | 0x128 | 8 | :ref:`frameTableEntry_st`\* | m_pFrame | +------------+-----------------------+----------------------------------------------------------------+--------------------+ | 0x130 | 1 | unsigned __int8 | m_bShadowOn | +------------+-----------------------+----------------------------------------------------------------+--------------------+ | | 7 | | ```` | +------------+-----------------------+----------------------------------------------------------------+--------------------+ ---- .. _CVidCellFont: CVidCellFont ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+-----------------------+---------------------------+-------------+ | **Offset** | **Size (Total: 312)** | **Type** | **Field** | +------------+-----------------------+---------------------------+-------------+ | 0x0 | 312 | :ref:`CVidCell` | baseclass_0 | +------------+-----------------------+---------------------------+-------------+ ---- .. _CVidDrawable: CVidDrawable ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVidDrawable Class` +------------+----------------------+----------+---------------+ | **Offset** | **Size (Total: 16)** | **Type** | **Field** | +------------+----------------------+----------+---------------+ | 0x0 | 4 | int | texType | +------------+----------------------+----------+---------------+ | | 4 | | ```` | +------------+----------------------+----------+---------------+ | 0x8 | 8 | void* | tex | +------------+----------------------+----------+---------------+ ---- .. _CVideo: CVideo ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVideo Class` +------------+---------------------+-----------------------------+--------------+ | **Offset** | **Size (Total: 8)** | **Type** | **Field** | +------------+---------------------+-----------------------------+--------------+ | 0x0 | 8 | :ref:`CVidMode`\* | pCurrentMode | +------------+---------------------+-----------------------------+--------------+ ---- .. _CVidFont: CVidFont ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVidFont Class` +------------+----------------------+----------------------------------------------------------------+-------------+ | **Offset** | **Size (Total: 40)** | **Type** | **Field** | +------------+----------------------+----------------------------------------------------------------+-------------+ | 0x0 | 16 | :ref:`CResHelper`\<:ref:`CResFont`,1034> | baseclass_0 | +------------+----------------------+----------------------------------------------------------------+-------------+ | 0x10 | 8 | :ref:`CVidCellFont`\* | vidCellFont | +------------+----------------------+----------------------------------------------------------------+-------------+ | 0x18 | 4 | unsigned int | foreground | +------------+----------------------+----------------------------------------------------------------+-------------+ | 0x1C | 4 | unsigned int | tintcolor | +------------+----------------------+----------------------------------------------------------------+-------------+ | 0x20 | 4 | int | pointSize | +------------+----------------------+----------------------------------------------------------------+-------------+ | 0x24 | 4 | int | zoom | +------------+----------------------+----------------------------------------------------------------+-------------+ ---- .. _CVidImage: CVidImage ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVidImage Class` +------------+-----------------------+-----------------------------------------------------+-----------------+ | **Offset** | **Size (Total: 256)** | **Type** | **Field** | +------------+-----------------------+-----------------------------------------------------+-----------------+ | 0x0 | 48 | :ref:`CVidPalette` | m_cPalette | +------------+-----------------------+-----------------------------------------------------+-----------------+ | 0x30 | 208 | :ref:`CVIDIMG_PALETTEAFFECT` | mPaletteAffects | +------------+-----------------------+-----------------------------------------------------+-----------------+ ---- .. _CVIDIMG_PALETTEAFFECT: CVIDIMG_PALETTEAFFECT ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+-----------------------+--------------------------+--------------------+ | **Offset** | **Size (Total: 208)** | **Type** | **Field** | +------------+-----------------------+--------------------------+--------------------+ | 0x0 | 4 | unsigned int | rgbTintColor | +------------+-----------------------+--------------------------+--------------------+ | 0x4 | 4 | unsigned int | rgbAddColor | +------------+-----------------------+--------------------------+--------------------+ | 0x8 | 4 | unsigned int | rgbLightColor | +------------+-----------------------+--------------------------+--------------------+ | | 4 | | ```` | +------------+-----------------------+--------------------------+--------------------+ | 0x10 | 56 | Array | pRangeTints | +------------+-----------------------+--------------------------+--------------------+ | 0x48 | 8 | Array | aRangeTintPeriods | +------------+-----------------------+--------------------------+--------------------+ | 0x50 | 56 | Array | pRangeAdds | +------------+-----------------------+--------------------------+--------------------+ | 0x88 | 8 | Array | aRangeAddPeriods | +------------+-----------------------+--------------------------+--------------------+ | 0x90 | 56 | Array | pRangeLights | +------------+-----------------------+--------------------------+--------------------+ | 0xC8 | 7 | Array | aRangeLightPeriods | +------------+-----------------------+--------------------------+--------------------+ | 0xCF | 1 | unsigned __int8 | suppressTints | +------------+-----------------------+--------------------------+--------------------+ ---- .. _CVidMode: CVidMode ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVidMode Class` +------------+-----------------------+-------------------------------+-------------------------+ | **Offset** | **Size (Total: 792)** | **Type** | **Field** | +------------+-----------------------+-------------------------------+-------------------------+ | 0x0 | 4 | int | m_nPrintFile | +------------+-----------------------+-------------------------------+-------------------------+ | 0x4 | 4 | int | m_nPointerNumber | +------------+-----------------------+-------------------------------+-------------------------+ | 0x8 | 4 | unsigned int | m_dwCursorRenderFlags | +------------+-----------------------+-------------------------------+-------------------------+ | 0xC | 4 | unsigned int | m_dwRedMask | +------------+-----------------------+-------------------------------+-------------------------+ | 0x10 | 4 | unsigned int | m_dwGreenMask | +------------+-----------------------+-------------------------------+-------------------------+ | 0x14 | 4 | unsigned int | m_dwBlueMask | +------------+-----------------------+-------------------------------+-------------------------+ | 0x18 | 1 | unsigned __int8 | m_bFadeTo | +------------+-----------------------+-------------------------------+-------------------------+ | 0x19 | 1 | unsigned __int8 | m_nFade | +------------+-----------------------+-------------------------------+-------------------------+ | | 6 | | ```` | +------------+-----------------------+-------------------------------+-------------------------+ | 0x20 | 8 | SDL_Window* | m_pWindow | +------------+-----------------------+-------------------------------+-------------------------+ | 0x28 | 8 | void* | m_glContext | +------------+-----------------------+-------------------------------+-------------------------+ | 0x30 | 288 | :ref:`CVidBitmap` | m_circle | +------------+-----------------------+-------------------------------+-------------------------+ | 0x150 | 4 | int | nWidth | +------------+-----------------------+-------------------------------+-------------------------+ | 0x154 | 4 | int | nHeight | +------------+-----------------------+-------------------------------+-------------------------+ | 0x158 | 1 | bool | bRedrawEntireScreen | +------------+-----------------------+-------------------------------+-------------------------+ | 0x159 | 1 | bool | bHardwareMouseCursor | +------------+-----------------------+-------------------------------+-------------------------+ | | 6 | | ```` | +------------+-----------------------+-------------------------------+-------------------------+ | 0x160 | 8 | :ref:`CVidCell`\* | pPointerVidCell | +------------+-----------------------+-------------------------------+-------------------------+ | 0x168 | 8 | :ref:`CVidCell`\* | pTooltipVidCell | +------------+-----------------------+-------------------------------+-------------------------+ | 0x170 | 1 | unsigned __int8 | m_bPrintScreen | +------------+-----------------------+-------------------------------+-------------------------+ | | 3 | | ```` | +------------+-----------------------+-------------------------------+-------------------------+ | 0x174 | 4 | unsigned int | nTickCount | +------------+-----------------------+-------------------------------+-------------------------+ | 0x178 | 4 | float | m_fInputScale | +------------+-----------------------+-------------------------------+-------------------------+ | 0x17C | 4 | unsigned int | rgbGlobalTint | +------------+-----------------------+-------------------------------+-------------------------+ | 0x180 | 1 | unsigned __int8 | m_nGammaCorrection | +------------+-----------------------+-------------------------------+-------------------------+ | 0x181 | 1 | unsigned __int8 | m_nBrightnessCorrection | +------------+-----------------------+-------------------------------+-------------------------+ | | 2 | | ```` | +------------+-----------------------+-------------------------------+-------------------------+ | 0x184 | 4 | int | m_nScreenScrollY | +------------+-----------------------+-------------------------------+-------------------------+ | 0x188 | 4 | int | m_nScreenScrollX | +------------+-----------------------+-------------------------------+-------------------------+ | 0x18C | 4 | int | nRShift | +------------+-----------------------+-------------------------------+-------------------------+ | 0x190 | 4 | int | nGShift | +------------+-----------------------+-------------------------------+-------------------------+ | 0x194 | 4 | int | nBShift | +------------+-----------------------+-------------------------------+-------------------------+ | 0x198 | 4 | tagRGBQUAD | rgbTint | +------------+-----------------------+-------------------------------+-------------------------+ | 0x19C | 4 | int | bPointerEnabled | +------------+-----------------------+-------------------------------+-------------------------+ | 0x1A0 | 16 | :ref:`CRect` | rPointerStorage | +------------+-----------------------+-------------------------------+-------------------------+ | 0x1B0 | 16 | :ref:`CRect` | m_rLockedRect | +------------+-----------------------+-------------------------------+-------------------------+ | 0x1C0 | 8 | :ref:`CVidCell`\* | m_lastCursor | +------------+-----------------------+-------------------------------+-------------------------+ | 0x1C8 | 4 | int | m_lastCursorFrame | +------------+-----------------------+-------------------------------+-------------------------+ | 0x1CC | 4 | int | m_lastCursorSequence | +------------+-----------------------+-------------------------------+-------------------------+ | 0x1D0 | 4 | int | m_lastCursorNumber | +------------+-----------------------+-------------------------------+-------------------------+ | 0x1D4 | 4 | unsigned int | m_lastCursorFlags | +------------+-----------------------+-------------------------------+-------------------------+ | 0x1D8 | 4 | unsigned int | m_lastCursorResId | +------------+-----------------------+-------------------------------+-------------------------+ | | 4 | | ```` | +------------+-----------------------+-------------------------------+-------------------------+ | 0x1E0 | 8 | SDL_Cursor* | m_hwCursor | +------------+-----------------------+-------------------------------+-------------------------+ | 0x1E8 | 8 | SDL_Surface* | m_hwCursorSurface | +------------+-----------------------+-------------------------------+-------------------------+ | 0x1F0 | 4 | int | nVRamSurfaces | +------------+-----------------------+-------------------------------+-------------------------+ | | 4 | | ```` | +------------+-----------------------+-------------------------------+-------------------------+ | 0x1F8 | 288 | :ref:`CVidBitmap` | m_rgbMasterBitmap | +------------+-----------------------+-------------------------------+-------------------------+ ---- .. _CVIDMODE_RETICLE_DESCRIPTION: CVIDMODE_RETICLE_DESCRIPTION ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+-----------------------+-------------------+ | **Offset** | **Size (Total: 28)** | **Type** | **Field** | +------------+----------------------+-----------------------+-------------------+ | 0x0 | 8 | :ref:`CPoint` | ptCenter | +------------+----------------------+-----------------------+-------------------+ | 0x8 | 2 | __int16 | xAxis | +------------+----------------------+-----------------------+-------------------+ | 0xA | 2 | __int16 | yAxis | +------------+----------------------+-----------------------+-------------------+ | 0xC | 2 | __int16 | piePiecePtXOffset | +------------+----------------------+-----------------------+-------------------+ | 0xE | 2 | __int16 | piePiecePtYOffset | +------------+----------------------+-----------------------+-------------------+ | 0x10 | 2 | __int16 | piePieceXOffset | +------------+----------------------+-----------------------+-------------------+ | 0x12 | 2 | __int16 | piePieceYOffset | +------------+----------------------+-----------------------+-------------------+ | 0x14 | 2 | __int16 | xGap | +------------+----------------------+-----------------------+-------------------+ | 0x16 | 2 | __int16 | yGap | +------------+----------------------+-----------------------+-------------------+ | 0x18 | 2 | __int16 | cursor | +------------+----------------------+-----------------------+-------------------+ | | 2 | | ```` | +------------+----------------------+-----------------------+-------------------+ ---- .. _CVidMosaic: CVidMosaic ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVidMosaic Class` +------------+-----------------------+--------------------------------------------------------------------+-------------+ | **Offset** | **Size (Total: 272)** | **Type** | **Field** | +------------+-----------------------+--------------------------------------------------------------------+-------------+ | 0x0 | 256 | :ref:`CVidImage` | baseclass_0 | +------------+-----------------------+--------------------------------------------------------------------+-------------+ | 0x100 | 16 | :ref:`CResHelper`\<:ref:`CResMosaic`,1004> | baseclass_1 | +------------+-----------------------+--------------------------------------------------------------------+-------------+ ---- .. _CVidPalette: CVidPalette ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVidPalette Class` +------------+----------------------+--------------------------+------------------------+ | **Offset** | **Size (Total: 48)** | **Type** | **Field** | +------------+----------------------+--------------------------+------------------------+ | 0x0 | 8 | unsigned __int64 | m_nAUCounter | +------------+----------------------+--------------------------+------------------------+ | 0x8 | 8 | unsigned __int64 | m_nAUCounterBase | +------------+----------------------+--------------------------+------------------------+ | 0x10 | 8 | tagRGBQUAD* | m_pPalette | +------------+----------------------+--------------------------+------------------------+ | 0x18 | 4 | int | m_nEntries | +------------+----------------------+--------------------------+------------------------+ | 0x1C | 4 | unsigned int | rgbGlobalTint | +------------+----------------------+--------------------------+------------------------+ | 0x20 | 2 | unsigned __int16 | m_nType | +------------+----------------------+--------------------------+------------------------+ | 0x22 | 1 | unsigned __int8 | m_bPaletteOwner | +------------+----------------------+--------------------------+------------------------+ | | 1 | | ```` | +------------+----------------------+--------------------------+------------------------+ | 0x24 | 4 | int | m_bSubRangesCalculated | +------------+----------------------+--------------------------+------------------------+ | 0x28 | 7 | Array | m_rangeColors | +------------+----------------------+--------------------------+------------------------+ | | 1 | | ```` | +------------+----------------------+--------------------------+------------------------+ ---- .. _CVidPng: CVidPng ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVidPng Class` +------------+-----------------------+--------------------------------------------------------------+-------------+ | **Offset** | **Size (Total: 272)** | **Type** | **Field** | +------------+-----------------------+--------------------------------------------------------------+-------------+ | 0x0 | 256 | :ref:`CVidImage` | baseclass_0 | +------------+-----------------------+--------------------------------------------------------------+-------------+ | 0x100 | 16 | :ref:`CResHelper`\<:ref:`CResPng`,1035> | baseclass_1 | +------------+-----------------------+--------------------------------------------------------------+-------------+ ---- .. _CVidPoly: CVidPoly ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVidPoly Class` +------------+----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------+ | **Offset** | **Size (Total: 40)** | **Type** | **Field** | +------------+----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------+ | 0x0 | 8 | :ref:`CVIDPOLY_VERTEX`\* | m_pVertices | +------------+----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------+ | 0x8 | 4 | int | m_nVertices | +------------+----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------+ | | 4 | | ```` | +------------+----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------+ | 0x10 | 8 | :ref:`_EdgeDescription<_EdgeDescription>`\* | m_pET | +------------+----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------+ | 0x18 | 8 | :ref:`_EdgeDescription<_EdgeDescription>`\* | m_pAET | +------------+----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------+ | 0x20 | 8 | void (__fastcall \*m_pDrawHLineFunction)(:ref:`CVidPoly`\*, void\*, int, int, unsigned int, const :ref:`CRect`\*, const :ref:`CPoint`\*); | m_pDrawHLineFunction | +------------+----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------+ ---- .. _CVidTile: CVidTile ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVidTile Class` +------------+-----------------------+-----------------------------+---------------+ | **Offset** | **Size (Total: 272)** | **Type** | **Field** | +------------+-----------------------+-----------------------------+---------------+ | 0x0 | 256 | :ref:`CVidImage` | baseclass_0 | +------------+-----------------------+-----------------------------+---------------+ | 0x100 | 8 | :ref:`CResTile`\* | pRes | +------------+-----------------------+-----------------------------+---------------+ | 0x108 | 4 | unsigned int | m_dwFlags | +------------+-----------------------+-----------------------------+---------------+ | | 4 | | ```` | +------------+-----------------------+-----------------------------+---------------+ ---- .. _CVIDPALETTE_COLOR: CVIDPALETTE_COLOR ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+----------+-----------+ | **Offset** | **Size (Total: 12)** | **Type** | **Field** | +------------+----------------------+----------+-----------+ | 0x0 | 4 | int | rgbRed | +------------+----------------------+----------+-----------+ | 0x4 | 4 | int | rgbGreen | +------------+----------------------+----------+-----------+ | 0x8 | 4 | int | rgbBlue | +------------+----------------------+----------+-----------+ ---- .. _CVIDPOLY_VERTEX: CVIDPOLY_VERTEX ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+---------------------+------------------+-----------+ | **Offset** | **Size (Total: 4)** | **Type** | **Field** | +------------+---------------------+------------------+-----------+ | 0x0 | 2 | unsigned __int16 | x | +------------+---------------------+------------------+-----------+ | 0x2 | 2 | unsigned __int16 | y | +------------+---------------------+------------------+-----------+ ---- .. _CVisibilityMap: CVisibilityMap ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVisibilityMap Class` +------------+-----------------------+----------------------------------------------------------+-------------------+ | **Offset** | **Size (Total: 112)** | **Type** | **Field** | +------------+-----------------------+----------------------------------------------------------+-------------------+ | 0x0 | 8 | unsigned __int16* | m_pMap | +------------+-----------------------+----------------------------------------------------------+-------------------+ | 0x8 | 4 | int | m_nMapSize | +------------+-----------------------+----------------------------------------------------------+-------------------+ | 0xC | 2 | __int16 | m_nWidth | +------------+-----------------------+----------------------------------------------------------+-------------------+ | 0xE | 2 | __int16 | m_nHeight | +------------+-----------------------+----------------------------------------------------------+-------------------+ | 0x10 | 1 | unsigned __int8 | m_bOutDoor | +------------+-----------------------+----------------------------------------------------------+-------------------+ | | 7 | | ```` | +------------+-----------------------+----------------------------------------------------------+-------------------+ | 0x18 | 8 | :ref:`CSearchBitmap`\* | m_pSearchMap | +------------+-----------------------+----------------------------------------------------------+-------------------+ | 0x20 | 60 | Array | m_aCharacterIds | +------------+-----------------------+----------------------------------------------------------+-------------------+ | | 4 | | ```` | +------------+-----------------------+----------------------------------------------------------+-------------------+ | 0x60 | 8 | :ref:`CVisibilityMapTreeNode`\** | m_pVisMapTrees | +------------+-----------------------+----------------------------------------------------------+-------------------+ | 0x68 | 8 | :ref:`CVisibilityMapEllipse`\* | m_pVisMapEllipses | +------------+-----------------------+----------------------------------------------------------+-------------------+ ---- .. _CVisibilityMapEllipse: CVisibilityMapEllipse ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+------------------+------------------+ | **Offset** | **Size (Total: 32)** | **Type** | **Field** | +------------+----------------------+------------------+------------------+ | 0x0 | 2 | __int16 | m_nXExploreRange | +------------+----------------------+------------------+------------------+ | 0x2 | 2 | __int16 | m_nYExploreRange | +------------+----------------------+------------------+------------------+ | | 4 | | ```` | +------------+----------------------+------------------+------------------+ | 0x8 | 8 | unsigned __int8* | m_pXEllipsePts | +------------+----------------------+------------------+------------------+ | 0x10 | 8 | unsigned __int8* | m_pYEllipsePts | +------------+----------------------+------------------+------------------+ | 0x18 | 1 | unsigned __int8 | m_nXPtsSize | +------------+----------------------+------------------+------------------+ | 0x19 | 1 | unsigned __int8 | m_nYPtsSize | +------------+----------------------+------------------+------------------+ | | 6 | | ```` | +------------+----------------------+------------------+------------------+ ---- .. _CVisibilityMapTreeNode: CVisibilityMapTreeNode ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+-----------------------+---------------+ | **Offset** | **Size (Total: 20)** | **Type** | **Field** | +------------+----------------------+-----------------------+---------------+ | 0x0 | 8 | :ref:`CPoint` | m_relativePos | +------------+----------------------+-----------------------+---------------+ | 0x8 | 2 | unsigned __int16 | m_nRange | +------------+----------------------+-----------------------+---------------+ | 0xA | 6 | Array<__int16,3> | m_aChildren | +------------+----------------------+-----------------------+---------------+ | 0x10 | 2 | __int16 | m_parent | +------------+----------------------+-----------------------+---------------+ | | 2 | | ```` | +------------+----------------------+-----------------------+---------------+ ---- .. _CVisualEffect: CVisualEffect ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVisualEffect Class` +------------+-----------------------+------------------------------------------------------------------------------------------------+---------------------+ | **Offset** | **Size (Total: 800)** | **Type** | **Field** | +------------+-----------------------+------------------------------------------------------------------------------------------------+---------------------+ | 0x0 | 96 | :ref:`CGameObject` | baseclass_0 | +------------+-----------------------+------------------------------------------------------------------------------------------------+---------------------+ | 0x60 | 448 | :ref:`CVisualEffectBase` | baseclass_1 | +------------+-----------------------+------------------------------------------------------------------------------------------------+---------------------+ | 0x220 | 56 | :ref:`CTypedPtrList`\<:ref:`CPtrList`,long*> | m_activeAnimations | +------------+-----------------------+------------------------------------------------------------------------------------------------+---------------------+ | 0x258 | 56 | :ref:`CTypedPtrList`\<:ref:`CPtrList`, :ref:`CVEFEvent`\*> | m_timedEvents | +------------+-----------------------+------------------------------------------------------------------------------------------------+---------------------+ | 0x290 | 56 | :ref:`CTypedPtrList`\<:ref:`CPtrList`, :ref:`CVEFEvent`\*> | m_triggeredEvents | +------------+-----------------------+------------------------------------------------------------------------------------------------+---------------------+ | 0x2C8 | 8 | :ref:`CPoint` | m_ptTargetPos | +------------+-----------------------+------------------------------------------------------------------------------------------------+---------------------+ | 0x2D0 | 4 | int | m_nTargetId | +------------+-----------------------+------------------------------------------------------------------------------------------------+---------------------+ | 0x2D4 | 8 | :ref:`CPoint` | m_posExact | +------------+-----------------------+------------------------------------------------------------------------------------------------+---------------------+ | 0x2DC | 8 | :ref:`CPoint` | m_posOld | +------------+-----------------------+------------------------------------------------------------------------------------------------+---------------------+ | 0x2E4 | 4 | int | m_nExistanceCounter | +------------+-----------------------+------------------------------------------------------------------------------------------------+---------------------+ | 0x2E8 | 4 | int | m_nDirection | +------------+-----------------------+------------------------------------------------------------------------------------------------+---------------------+ | 0x2EC | 4 | int | m_nNewDirection | +------------+-----------------------+------------------------------------------------------------------------------------------------+---------------------+ | 0x2F0 | 8 | :ref:`CPoint` | m_posDelta | +------------+-----------------------+------------------------------------------------------------------------------------------------+---------------------+ | 0x2F8 | 16 | Array | m_terrainTable | +------------+-----------------------+------------------------------------------------------------------------------------------------+---------------------+ | 0x308 | 8 | :ref:`CStringList`\* | pList | +------------+-----------------------+------------------------------------------------------------------------------------------------+---------------------+ | 0x310 | 8 | __POSITION* | m_listPos | +------------+-----------------------+------------------------------------------------------------------------------------------------+---------------------+ | 0x318 | 4 | int | m_startedList | +------------+-----------------------+------------------------------------------------------------------------------------------------+---------------------+ | 0x31C | 4 | unsigned int | m_renderMask | +------------+-----------------------+------------------------------------------------------------------------------------------------+---------------------+ ---- .. _CVisualEffectBase: CVisualEffectBase ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+-----------------------+-------------------------+-------------------------+ | **Offset** | **Size (Total: 448)** | **Type** | **Field** | +------------+-----------------------+-------------------------+-------------------------+ | 0x0 | 4 | unsigned int | m_nTimedEventOffset | +------------+-----------------------+-------------------------+-------------------------+ | 0x4 | 4 | unsigned int | m_nTimedEventCount | +------------+-----------------------+-------------------------+-------------------------+ | 0x8 | 4 | unsigned int | m_nTriggeredEventOffset | +------------+-----------------------+-------------------------+-------------------------+ | 0xC | 4 | unsigned int | m_nTriggeredEventCount | +------------+-----------------------+-------------------------+-------------------------+ | 0x10 | 4 | unsigned int | m_nTargetType | +------------+-----------------------+-------------------------+-------------------------+ | 0x14 | 4 | int | m_nSpeed | +------------+-----------------------+-------------------------+-------------------------+ | 0x18 | 4 | int | m_nDuration | +------------+-----------------------+-------------------------+-------------------------+ | 0x1C | 8 | :ref:`CPoint` | m_ptStartDeltaV | +------------+-----------------------+-------------------------+-------------------------+ | 0x24 | 4 | int | m_nDeltaVDec | +------------+-----------------------+-------------------------+-------------------------+ | 0x28 | 4 | int | m_nHeight | +------------+-----------------------+-------------------------+-------------------------+ | 0x2C | 4 | unsigned int | m_flags | +------------+-----------------------+-------------------------+-------------------------+ | 0x30 | 400 | Array | m_extra | +------------+-----------------------+-------------------------+-------------------------+ ---- .. _CVisualEffectFile: CVisualEffectFile ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+--------------------------------------------------------------------+-------------+ | **Offset** | **Size (Total: 16)** | **Type** | **Field** | +------------+----------------------+--------------------------------------------------------------------+-------------+ | 0x0 | 16 | :ref:`CResHelper`\<:ref:`CResBinary`,1020> | baseclass_0 | +------------+----------------------+--------------------------------------------------------------------+-------------+ ---- .. _CVoice: CVoice ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVoice Class` +------------+----------------------+-------------------------+-----------------+ | **Offset** | **Size (Total: 40)** | **Type** | **Field** | +------------+----------------------+-------------------------+-----------------+ | 0x0 | 8 | :ref:`CObject` | baseclass_0 | +------------+----------------------+-------------------------+-----------------+ | 0x8 | 8 | :ref:`CSound`\* | m_pSound | +------------+----------------------+-------------------------+-----------------+ | 0x10 | 4 | unsigned int | m_nBuffer | +------------+----------------------+-------------------------+-----------------+ | 0x14 | 4 | unsigned int | m_nSource | +------------+----------------------+-------------------------+-----------------+ | 0x18 | 4 | int | m_nChannel | +------------+----------------------+-------------------------+-----------------+ | 0x1C | 4 | int | m_nPriority | +------------+----------------------+-------------------------+-----------------+ | 0x20 | 1 | bool | m_bDuckedOthers | +------------+----------------------+-------------------------+-----------------+ | | 7 | | ```` | +------------+----------------------+-------------------------+-----------------+ ---- .. _CVRamPool: CVRamPool ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+---------------------------------+---------------+ | **Offset** | **Size (Total: 16)** | **Type** | **Field** | +------------+----------------------+---------------------------------+---------------+ | 0x0 | 4 | int | nVTiles | +------------+----------------------+---------------------------------+---------------+ | | 4 | | ```` | +------------+----------------------+---------------------------------+---------------+ | 0x8 | 8 | :ref:`st_tiledef`\* | pTileDef | +------------+----------------------+---------------------------------+---------------+ ---- .. _CVVCHash: CVVCHash ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+---------------------------------------+-----------------+ | **Offset** | **Size (Total: 16)** | **Type** | **Field** | +------------+----------------------+---------------------------------------+-----------------+ | 0x0 | 8 | :ref:`CVVCHashEntry`\* | m_hashEntries | +------------+----------------------+---------------------------------------+-----------------+ | 0x8 | 4 | int | m_nTableEntries | +------------+----------------------+---------------------------------------+-----------------+ | | 4 | | ```` | +------------+----------------------+---------------------------------------+-----------------+ ---- .. _CVVCHashEntry: CVVCHashEntry ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+-------------------------+---------------+ | **Offset** | **Size (Total: 20)** | **Type** | **Field** | +------------+----------------------+-------------------------+---------------+ | 0x0 | 8 | :ref:`CResRef` | m_name | +------------+----------------------+-------------------------+---------------+ | 0x8 | 2 | unsigned __int16 | m_priority | +------------+----------------------+-------------------------+---------------+ | | 2 | | ```` | +------------+----------------------+-------------------------+---------------+ | 0xC | 4 | unsigned int | m_renderType | +------------+----------------------+-------------------------+---------------+ | 0x10 | 4 | unsigned int | m_renderMask | +------------+----------------------+-------------------------+---------------+